.subscriptions {
  background-color: #e5e5e5;
  padding: 100px 0;
  margin: 100px 0 0 0;

  &__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;

    &__title {
      color: #0c1417;
      margin: 100px 0;
    }

    &__prices {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      width: 100%;
      grid-gap: 40px;

      @include tablet {
        overflow-x: scroll;
      }

      p {
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        color: #0c1417;
      }
    }

    &__cards {
      display: flex;
      justify-content: space-between;
      align-items: center;

      &__element {
        box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.08);
        background: #ffffff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        padding: 30px 21px;
        text-align: center;
        width: 308px;
        height: 372px;

        h3 {
          color: #0c1417;
          margin-bottom: 20px;
          font-weight: 700;
          font-size: 16px;
          line-height: 24px;
        }

        span {
          color: #0c1417;
          margin-bottom: 30px;
          font-weight: 400;
          font-size: 15px;
          line-height: 20px;
          text-align: center;
          color: rgba(12, 20, 23, 0.5);
        }

        p {
          color: #0c1417;
          margin-bottom: 15px;
          font-weight: 700;
          font-size: 24px;
          line-height: 30px;
        }

        a {
          font-weight: 700;
          font-size: 16px;
          position: relative;
          display: inline-block;
          transform-style: preserve-3d;
          color: #0c1417;
          margin: 0 124px 43px;
          margin-top: 45px;

          &:hover {
            &::after {
              border: 1px solid #f7931e;
              background-color: #f7931e;
            }
          }

          &::after {
            transition: 0.4s;
            position: absolute;
            content: "";
            height: 60px;
            width: 220px;
            left: -80px;
            top: -20px;
            border: 1px solid #0c1417;
            transform: translateZ(-1px) skew(-20deg);
          }
        }

        &:not(:last-child) {
          margin-right: 30px;
        }
      }
    }
  }
}
